home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / visulztn / saoimage / saoimage.lha / hfiles / rtcmd.h < prev    next >
Text File  |  1990-05-11  |  463b  |  42 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6. /* command fields */
  7.  
  8. #define NOPER        0
  9. #define PIXEL        1    
  10. #define FRAME        2
  11. #define FILER        3
  12.  
  13.  
  14. /* PIXEL and FRAME command modes */
  15.  
  16. #define SET        1
  17. #define ADD        2
  18. #define AND        3
  19. #define XOR        4
  20.  
  21.  
  22. /* FILER subcommands    */
  23.  
  24. #define INITI    1
  25. #define GNAME    2
  26. #define SNAME    3
  27. #define WFILE    4
  28. #define RFILE    5
  29.  
  30.  
  31. typedef struct _position {
  32.     short x, y, z;
  33. } position;
  34.  
  35.  
  36. typedef struct _cmdrec {
  37.     short    command;
  38.     short    count;
  39.     short    x, y, z;
  40.     short    dx, dy, mode;
  41. } cmdrec;
  42.